/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package mp.weixin.WXpublic.receive;

import mp.weixin.WXpublic.BaseReceiveMessage;

/**
 * 用户位置 
 * 纬度locationX, 
 * 经度locationY, 
 * 缩放大小scale,
 * 地理位置信息 label, 
 * 消息id msgId
 * @author 王仲秋
 */
public class RLocationEntity extends BaseReceiveMessage {

	private String locationX;
	private String locationY;
	private String scale;
	private String label;
	private long msgId;

	/**
	 * 用户发送地理消息的 纬度
	 * 
	 * @return
	 */
	public String getLocationX() {
		return locationX;
	}

	public void setLocationX(String locationX) {
		this.locationX = locationX;
	}

	/**
	 * 用户发送地理消息 的经度
	 * 
	 * @return
	 */
	public String getLocationY() {
		return locationY;
	}

	public void setLocationY(String locationY) {
		this.locationY = locationY;
	}

	/**
	 * 地图缩放大小
	 * 
	 * @return
	 */
	public String getScale() {
		return scale;
	}

	public void setScale(String scale) {
		this.scale = scale;
	}

	/**
	 * 地理位置信息
	 * 
	 * @return
	 */
	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	/**
	 * 消息id，64位整型
	 * 
	 * @return
	 */

	public long getMsgId() {
		return msgId;
	}

	public void setMsgId(long msgId) {
		this.msgId = msgId;
	}

	@Override
	public ReceiveTypeEnum getMsgType() {
		return ReceiveTypeEnum.LOCATION;
	}

}
